package com.just.spring4.ch1.di;

import org.springframework.stereotype.Service;

/**
 * Created by han.yuan
 * 依赖注入，编写功能类的bean
 */
@Service
public class FunctionService {
    public String sayHello(String word){
        return "hello!"+word;
    }
}
